package org.openlvb.openlvp.calendar;

import com.vaadin.ui.DateField;
import com.vaadin.ui.SplitPanel;

public class CalendarPanel extends SplitPanel{
	
	private CalendarMenuPanel calendarMenuPanel;
	private CalendarMainPanel calendarMainPanel;
	
	public CalendarPanel(){
		setOrientation(SplitPanel.ORIENTATION_HORIZONTAL);
        setSplitPosition(20);
        calendarMenuPanel = new CalendarMenuPanel(this);
        calendarMainPanel = new CalendarMainPanel(this);
        addComponent(calendarMenuPanel);
        addComponent(calendarMainPanel);
        setHeight("100%");
	}

	public CalendarMainPanel getMainCalendarPanel() {
		return calendarMainPanel;
	}

}
